﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Resources;
using System.Globalization;
using wUniAppPCL.Loacalization;

// http://www.mobilemotion.eu/?p=618&lang=en

namespace wUniAppPCL.Loacalization
{
  public class wLocProvider
  {
    
    Resources resource;
    public Resources R
    {
      get
      {
        if (resource == null) resource = new Resources();
        return resource;
      }
    }

    public static void SetCulture(string name)
    {
      Resources.Culture = new System.Globalization.CultureInfo(name);
    }

  }

} 

